{{ define "task/index.html" }}

<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <title>Task Index</title>
</head>
<style>
    .not-visable {
        display: none;
    }
</style>
<body>
<h1>采集平台</h1>
<a href="/task" > 首页 </a> <a href="/task/migrate"> 自动迁移数据库 </a>

<form action="/task/add" method="post">
    <input type="text" name="task_id" class="not-visable" value="{{ .taskid }}">
    <p>本次提交的任务id为 {{ .taskid }}</p>
    <table>
        <th>平台名称</th>
        <th>作者id</th>

        <tr>
            <td><select name="platform" id="platform">
                <option value="bilibili">B站</option>
                <option value="xigua">西瓜</option>
            </select></td>
            <td>
                <input type="text" name="account">
            </td>
        </tr>

    </table>
    <br>
    <input type="submit" value="提交">
</form>
</body>
</html>
{{ end }}